import request from '@/utils/request'

export function login(data) {
  return request({
    url: '/doctor/login',
    method: 'post',
    data
  })
}
export function regist(data) {
  return request({
    url: '/doctor/regist',
    method: 'post',
    data
  })
}
export function logout(username, password) {
  return request({
    url: '/doctor/logout',
    method: 'post',
    data: { }
  })
}

export function getHosptialAll(data) {
  return request({
    url: '/doctor/getHosptialAll',
    method: 'post',
    data
  })
}



export function getUserBaseInfo(data) {
  return request({
    url: '/doctor/getUserBaseInfo',
    method: 'post',
    data

  })
}


export function getUnCheckUser(data) {
  return request({
    url: '/doctor/getUnCheckUser',
    method: 'post',
    data

  })
}

export function reportUserHealth(data) {
  return request({
    url: '/doctor/reportUserHealth',
    method: 'post',
    data

  })
}

